<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<ul>
          <li><a href="index.jsp" class="menu">Glowna</a></li>
          <li><a href="reservation.jsp" class="menu">Rezerwacja</a></li>
          <li><a href="about.jsp" class="menu">O nas</a></li>
          <li><a href="opinions.jsp" class="menu">Opinie</a></li>
          <li><a href="contact.jsp" class="menu">Kontakt</a></li>
          
<% Integer user_id = (Integer) session.getAttribute("user_id");
			response.setContentType("text/html");
			if (user_id != null) {%>
			<li><a href="userPanel.jsp" class="menu">HeartBook</a></li>
			<!-- 	<li> <a href="events.jsp" class="menu">Eventy </a></li>
				<li> <a href="friends.jsp" class="menu"> Znajomi </a></li>-->
		<%	}// else {  %>



        </ul>